Fix go-ts-mode const_spec highlighting (Bug#76330)
authorRandy Taylor <dev@rjt.dev>
Sun, 16 Feb 2025 20:51:43 +0000 (15:51 -0500)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 Mar 2025 12:12:30 +0000 (14:12 +0200)
commitb531bbf73ef91aca0a699ffc89e6b93dc49d0151
treedd4684c2aff07119185935bdf5da1728e7c75f89
parentbd1d6761f4cd6548731dcb80e0ee8e1a53d929cc
Fix go-ts-mode const_spec highlighting (Bug#76330)

* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings):
Handle multiple const_spec identifiers.
* test/lisp/progmodes/go-ts-mode-resources/font-lock.go:
Add test case.
lisp/progmodes/go-ts-mode.el
test/lisp/progmodes/go-ts-mode-resources/font-lock.go